]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Do not try to animate a St.Adjustment with unmapped actor
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 4 Dec 2025 04:18:04 +0000 (05:18 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 5 Dec 2025 21:58:48 +0000 (21:58 +0000)
commit4d56b51100df05032ee78c5fa556b4e003de2761
treecb71ce5e851e505ed7493aaac5fdf689a3fea6cb
parentc33d729ba31cf5ab7d9f3cee78eb0f527df3c577
environment: Do not try to animate a St.Adjustment with unmapped actor

We were already doing this for actual actors, but the case was
skipped in the St.Adjustment case.

However, as it is an animatable we can just use its related actor as
reference, and keep the same logic despite their actual object type

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3991>
js/ui/environment.js